import { defineStore } from 'pinia'

export const useDataStore = defineStore('userData', {
  state() {
    return {
      userData: {
        token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZG1pbm5hbWUiOiJhZG1pbiIsImlhdCI6MTY4ODExNDk4MiwiZXhwIjoxNjg4MTQzNzgyfQ.x1mkYQCJI-Uvji1YbM4EOd6gqIijEj5m2dhaXebe0xs',
      }
    }
  },
  // 它是pinia内部的计算数据，我们一般用computed来代替
  getters: {},
  actions: {}
})
